package com.yc.cglibproxy;

/**
 * @ClassName Test03
 * @since: 2023/8/1 21:30
 * @auth: kirito
 * @description:
 **/
public class Test03 {
    public static void main(String[] args) {
        CglibProxyTool jpt = new CglibProxyTool(new OrderBiz2());
        OrderBiz2 ob = (OrderBiz2)jpt.createProxy();
        System.out.println("生成代理对象：" + ob.toString());
        ob.findOrder();
        ob.addOrder(1,99);
    }
}
